/*
 * JM7200 GPU driver
 *
 * Copyright (c) 2018 ChangSha JingJiaMicro Electronics Co., Ltd.
 *
 * Author:
 *      rfshen <jjwgpu@jingjiamicro.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 */
#ifndef _MWV206DISPLAYMODE_H_
#define _MWV206DISPLAYMODE_H_
#include "glj.h"

#define V206DISPMODE001                     0
#define V206DISPMODE002                    1
#define V206DISPMODE003                2
#define V206DISPMODE004                      3
#define V206DISPMODE005                   4
#define V206DISPMODE006                     5
#define V206DISPMODE007                    6
#define V206DISPMODE008                7
#define V206DISPMODE009                      8
#define V206DISPMODE010                   9
#define V206DISPMODE011                  10
#define V206DISPMODE012                       11
#define V206DISPMODE013                       12
#define V206DISPMODE014                       12


#define MODEITEM(V206DISPMODE017, V206DISPMODE018, V206DISPMODE019, V206DISPMODE020, V206DISPMODE021, V206DISPMODE022, V206DISPMODE023, V206DISPMODE024, V206DISPMODE025, V206DISPMODE026, V206DISPMODE027, V206DISPMODE028, V206DISPMODE029) \
{V206DISPMODE017, V206DISPMODE018, V206DISPMODE019, V206DISPMODE020, V206DISPMODE021, V206DISPMODE022, V206DISPMODE023, V206DISPMODE024, V206DISPMODE025, V206DISPMODE026, V206DISPMODE027, V206DISPMODE028, V206DISPMODE029}




static unsigned int modeparams[][V206DISPMODE014 + 1] = {

	MODEITEM(800,  640,   8,  96, 8, 525, 480, 2,  2, 8, 60, V206DISPMODE016, V206DISPMODE016),

	MODEITEM(1056,  800,  40, 128, 0, 628, 600, 1,  4, 0, 60, V206DISPMODE015, V206DISPMODE015),

	MODEITEM(1344, 1024,  24, 136, 0, 806, 768, 3,  6, 0, 60, V206DISPMODE016, V206DISPMODE016),

	MODEITEM(1650, 1280, 110,  40, 0, 750, 720, 5,  5, 0, 60, V206DISPMODE015, V206DISPMODE015),

	MODEITEM(1664, 1280,  64, 128, 0, 798, 768, 3,  7, 0, 60, V206DISPMODE016, V206DISPMODE015),

	MODEITEM(1680, 1280,  72, 128, 0, 831, 800, 3,  6, 0, 60, V206DISPMODE016, V206DISPMODE015),

	MODEITEM(1800, 1280,  96, 112, 0, 1000, 960, 1,  3, 0, 60, V206DISPMODE015, V206DISPMODE015),

	MODEITEM(1688, 1280,  48, 112, 0, 1066, 1024,  1,  3, 0, 60, V206DISPMODE015, V206DISPMODE015),

	MODEITEM(1792, 1360,  64, 112, 0, 795,  768, 3,  6, 0, 60, V206DISPMODE015, V206DISPMODE015),

	MODEITEM(1792, 1366,  70, 143, 0, 798,  768, 3,  3, 0, 60, V206DISPMODE015, V206DISPMODE015),

	MODEITEM(1864, 1400,  88, 144, 0, 1089, 1050, 3,  4, 0, 60, V206DISPMODE016, V206DISPMODE015),

	MODEITEM(1904, 1440,  80, 152, 0, 934,  900, 3,  6, 0, 60, V206DISPMODE016, V206DISPMODE015),

	MODEITEM(2160, 1600,  64, 192, 0, 1250, 1200, 1,  3, 0, 60, V206DISPMODE015, V206DISPMODE015),

	MODEITEM(2240, 1680, 104, 176, 0, 1089, 1050, 3,  6, 0, 60, V206DISPMODE016, V206DISPMODE015),

	MODEITEM(2448, 1792, 128, 200, 0, 1394, 1344, 1,  3, 0, 60, V206DISPMODE016, V206DISPMODE015),

	MODEITEM(2528, 1856,  96, 224, 0, 1439, 1392, 1,  3, 0, 60, V206DISPMODE016, V206DISPMODE015),

	MODEITEM(2200, 1920,  88,  44, 0, 1125, 1080,  4,  5, 0, 60, V206DISPMODE015, V206DISPMODE015),

	MODEITEM(2592, 1920, 136, 200, 0, 1245, 1200,  3,  6, 0, 60, V206DISPMODE016, V206DISPMODE015),

	MODEITEM(2600, 1920, 128, 208, 0, 1500, 1440,  1,  3, 0, 60, V206DISPMODE016, V206DISPMODE015),

	MODEITEM(2250, 2048,  26,  80, 0, 1200, 1152,  1,  3, 0, 60, V206DISPMODE015, V206DISPMODE015),

	MODEITEM(3504, 2560, 192, 280, 0, 1658, 1600,  3,  6, 0, 60, V206DISPMODE016, V206DISPMODE015),

	MODEITEM(4400, 3840, 176, 88, 0, 2250, 2160,  8, 10, 0, 30, V206DISPMODE015, V206DISPMODE015),


	MODEITEM(4400, 4096, 88, 88, 0, 2250, 2160, 8, 10, 0, 30, V206DISPMODE015, V206DISPMODE015),

	MODEITEM(2080, 1920, 48, 32, 0, 1492, 1440,  3, 4, 0, 75, V206DISPMODE016, V206DISPMODE015),
};

#endif